<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,user-scale=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
    <title>查询</title>
    <!-- head 中 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.1/css/jquery-weui.min.css">

    <link rel="stylesheet" href="./Public/css/index.css">
    <link rel="stylesheet" href="./Public/css/profile.css">
</head>
<body>
<div class="container">
    <div class="top">
    </div>
    <form id="sign_form" action="" method="post" enctype="multipart/form-data">
        <div class="field-list" style="margin-top: 10px;">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">昵称</label></div>
                <div class="weui-cell__bd">
                    <input id="nick_name" class="weui-input" placeholder="" value=""/>
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">剩余次数</label></div>
                <div class="weui-cell__bd">
                    <input id="query_left" class="weui-input" placeholder="" value=""/>
                </div>
            </div>
        </div>

        <div class="weui-cells__title">查询设置</div>
        <div class="weui-cells weui-cells_checkbox">
            <label class="weui-cell weui-check__label" for="s11">
                <div class="weui-cell__hd">
                    <input type="checkbox" class="weui-check" name="checkbox1" id="s11" checked="checked"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>中国证监会证券期货市场失信记录查询平台</p>
                </div>
            </label>
            <label class="weui-cell weui-check__label" for="s12">
                <div class="weui-cell__hd">
                    <input type="checkbox" name="checkbox1" class="weui-check" id="s12"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>全国法院被执行人信息查询</p>
                </div>
            </label>
            <label class="weui-cell weui-check__label" for="s13">
                <div class="weui-cell__hd">
                    <input type="checkbox" name="checkbox1" class="weui-check" id="s13"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>中国裁判文书网</p>
                </div>
            </label>
            <label class="weui-cell weui-check__label" for="s14">
                <div class="weui-cell__hd">
                    <input type="checkbox" name="checkbox1" class="weui-check" id="s14"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>国家税务总局</p>
                </div>
            </label>
            <label class="weui-cell weui-check__label" for="s15">
                <div class="weui-cell__hd">
                    <input type="checkbox" name="checkbox1" class="weui-check" id="s15"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>生态环境部</p>
                </div>
            </label>
            <label class="weui-cell weui-check__label" for="s16">
                <div class="weui-cell__hd">
                    <input type="checkbox" name="checkbox1" class="weui-check" id="s16"/>
                    <i class="weui-icon-checked"></i>
                </div>
                <div class="weui-cell__bd font-size-14">
                    <p>企业信息公示系统</p>
                </div>
            </label>

            <a href="javascript:;" class="weui-cell weui-cell_link">
                <div class="weui-cell__bd" style="text-align: center;color: #4293f4;">其他网站查询正在路上，欢迎建议</div>
            </a>
        </div>
        <div class="bottom">
            <div class="btn ghost" id="continue_upload" style="margin-bottom: 16px;">返回查询</div>
            <input id="submit" type="submit" class="btn primary" style="font-size: 14px;" value="保存修改">
        </div>

    </form>
</div>
</body>
<!-- body 最后 -->
<script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
<script src="./Public/js/public/login.js"></script>
<script src="./Public/js/layer/layer.js"></script>
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>

<!-- 如果使用了某些拓展插件还需要额外的JS -->
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/swiper.min.js"></script>
<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/city-picker.min.js"></script>
<script>
    var _userUrl    =   'http://jdwzcx.livingbang.com/jdwzcx/investigate';
    var _token      =   $.cookie('token');
    $.ajax
    ({
        url: _userUrl,
        dataType: "json",
        type: "get",
        data: {
            token: _token,
        },
        success:function(response){
            if(response.code == '10000'){
                var _data   =   response.data;
                $('#nick_name').value(_data.nickname);
                $('#query_left').value(_data.remainingCount);
            }
        },
        error:function(){
            alert('failed!');
        },
    });
</script>
</html>